<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/10/17 0017
  Time: 上午 10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加</title>
    <link rel="stylesheet" href="/static/js/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/common.css">
    <script src="/static/js/plugins/jquery.js"></script>
    <script src="/static/js/plugins/layui/layui.js"></script>
    <script type="text/javascript" src="/static/js/changepwd.js"></script>
</head>
<body>
<div class="box-padding15">
    <div class="box-border">
        <span class="layui-breadcrumb">
             <a href="/index" target="_top">首页</a>
             <a><cite>修改密码</cite></a>
        </span>
    </div>
    <form action="/user/updatepwd" method="post"class="layui-form">
        <div class="layui-form-item">
            <label class="layui-form-label">旧密码</label>
            <div class="layui-input-block">
                <input type="password" name="oldpassword" id="oldpassword" lay-verify="required|oldpassword" placeholder="请输密码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">新密码</label>
            <div class="layui-input-block">
                <input type="password" name="password1"id="password1" lay-verify="required|password1" placeholder="请输密码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">重复密码</label>
            <div class="layui-input-block">
                <input type="password" name="password2" id="password2"lay-verify="required" placeholder="请输密码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formSubmit">保存</button>
                <a href="/index" target="_top">
                    <button type="button" class="layui-btn layui-btn-primary">取消</button>
                </a>
            </div>
        </div>
    </form>
</div>
</body>
</html>
